<div class="zs-body" data-ng-init="formInit('gzlytjaj01', {
        keyField:'id',
        randomFields:['id'],
        orderObject:{id:0}
    }) && loadData('gzlytjaj01');setConHei();">
    <div class="zs-map-tool">
        <div class="location">
            <a href="javascript:;">首页</a>
            <i class="right-arr"></i>
            <a href="javascript:;">资源管理</a>
            <i class="right-arr"></i>
            <a href="javascript:;">林业统计案件</a>
        </div>
        <div class="option">
            <input type="button" class="zs-btn orange" value="新建" 
                ng-click="addRow('gzlytjaj01') && openWindow('edit');"/>
            <input type="button" class="zs-btn orange" value="编辑" 
                ng-click="editRow('gzlytjaj01', gzlytjaj01.sRows[0]) && openWindow('edit')"/>
            <input type="button" class="zs-btn orange" value="删除 "
                ng-click="delEntitys('gzlytjaj01')"/>
        </div>
    </div>
    <div class="zs-content" style="position:unset">
        <div class="zs-nice-tab idTabs">
			<div class="tool item" style="margin-left:6px;">
            	<!--<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="ID" ng-model="gzlytjaj01.queryObject['id']"/>
                </span>-->
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="填报单位名称" ng-model="gzlytjaj01.queryObject['tbdwmc']"/>
                </span>
            	<!--<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="填报单位ID" ng-model="gzlytjaj01.queryObject['tbdwid']"/>
                </span>-->
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="统计期限" ng-model="gzlytjaj01.queryObject['tjqx']"/>
                </span>
				<span class="search-warpper">
                    <ag-Datebox id='qi_tjrq'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gzlytjaj01.queryObject['tjrq']" >
				   	</ag-Datebox>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="案件类型" ng-model="gzlytjaj01.queryObject['ajlx']"/>
                </span>
				<!--<span class="search-warpper">
                    <ag-Datebox id='qi_tjyxqjssj'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gzlytjaj01.queryObject['tjyxqjssj']" >
				   	</ag-Datebox>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="案件数量总数" ng-model="gzlytjaj01.queryObject['ajslzs']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="案件数量_公民" ng-model="gzlytjaj01.queryObject['ajslgm']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="案件数量_法人" ng-model="gzlytjaj01.queryObject['ajslfr']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="案件数量其他组织" ng-model="gzlytjaj01.queryObject['ajslqt']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="查结案件总数" ng-model="gzlytjaj01.queryObject['cjajzs']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="查结案件结案率" ng-model="gzlytjaj01.queryObject['cjajjal']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="林地面积（公顷）" ng-model="gzlytjaj01.queryObject['lmmj']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="林木蓄积（立方米）" ng-model="gzlytjaj01.queryObject['lmxj']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="竹子（万株）" ng-model="gzlytjaj01.queryObject['zjzs']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="种子（公顷）" ng-model="gzlytjaj01.queryObject['zhognzi']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="幼树或苗木（万株）" ng-model="gzlytjaj01.queryObject['ymhmm']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="沙地（公顷）" ng-model="gzlytjaj01.queryObject['shadi']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="保护区或栖息地（公顷）" ng-model="gzlytjaj01.queryObject['bhqhqxd']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="野生动物总数（只）" ng-model="gzlytjaj01.queryObject['ysdwzs']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="野生动物国家重点保护对象（只）" ng-model="gzlytjaj01.queryObject['ysdwgjzdbh']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="野生植物总数（株）" ng-model="gzlytjaj01.queryObject['yszwzs']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="野生植物国家重点保护对象（株）" ng-model="gzlytjaj01.queryObject['yszwgjzdbh']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="单位负责人" ng-model="gzlytjaj01.queryObject['defzrmc']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="填表人" ng-model="gzlytjaj01.queryObject['tbr']"/>
                </span>
				<span class="search-warpper">
                    <ag-Datebox id='qi_tbsj'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gzlytjaj01.queryObject['tbsj']" >
				   	</ag-Datebox>
                </span>-->
            </div>
            <div class="operation item">
                <a class="ope-1" ng-click="loadData('gzlytjaj01')"></a>
                <a class="ope-2"></a>
            </div>
            <div class="switch">
                
            </div>
        </div>
        <div class="date-container">
            <div id="zpgwd">
                <div class="zs-data-table">
                    <div class="container">
                        <table>
                            <thead>
                                <tr>
                                    <th>
                                        <input id="allCheckbox" type="checkbox"
                                            ng-click="selectAll('gzlytjaj01','allCheckbox');" />
                                    </th>
									<!--<th>ID</th>-->
									<th>填报单位名称</th>
									<!--<th>填报单位ID</th>-->
									<th>统计期限</th>
									<th>统计日期</th>
									<th>案件类型</th>
									<th>统计有效期结束时间</th>
									<th>案件数量总数</th>
									<th>案件数量_公民</th>
									<th>案件数量_法人</th>
									<th>案件数量其他组织</th>
									<th>查结案件总数</th>
									<th>查结案件结案率</th>
									<th>林地面积（公顷）</th>
									<th>林木蓄积（立方米）</th>
									<th>竹子（万株）</th>
									<th>种子（公顷）</th>
									<th>幼树或苗木（万株）</th>
									<th>沙地（公顷）</th>
									<th>保护区或栖息地（公顷）</th>
									<th>野生动物总数（只）</th>
									<th>野生动物国家重点保护对象（只）</th>
									<th>野生植物总数（株）</th>
									<th>野生植物国家重点保护对象（株）</th>
									<th>单位负责人</th>
									<th>填表人</th>
									<th>填表时间</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-repeat="r in gzlytjaj01.datas">
                                    <td>
                                        <input type="checkbox"
                                            ng-click="selectRow('gzlytjaj01',r);"
                                            ng-model="r.selected" />
                                    </td>
									<!--  ID -->
            					<!--	<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.id"></label>
                                        </a>
                                   </td>-->
									<!--  填报单位名称 -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.tbdwmc"></label>
                                        </a>
                                   </td>
									<!--  填报单位ID -->
            						<!--<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.tbdwid"></label>
                                        </a>
                                   </td>-->
									<!--  统计期限 -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.tjqx"></label>
                                        </a>
                                   </td>
									<!--  统计日期 -->
								   <td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.tjrq | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
									<!--  案件类型 -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.ajlx"></label>
                                        </a>
                                   </td>
									<!--  统计有效期结束时间 -->
								   <td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.tjyxqjssj | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
									<!--  案件数量总数 -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.ajslzs"></label>
                                        </a>
                                   </td>
									<!--  案件数量_公民 -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.ajslgm"></label>
                                        </a>
                                   </td>
									<!--  案件数量_法人 -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.ajslfr"></label>
                                        </a>
                                   </td>
									<!--  案件数量其他组织 -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.ajslqt"></label>
                                        </a>
                                   </td>
									<!--  查结案件总数 -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.cjajzs"></label>
                                        </a>
                                   </td>
									<!--  查结案件结案率 -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.cjajjal"></label>
                                        </a>
                                   </td>
									<!--  林地面积（公顷） -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.lmmj"></label>
                                        </a>
                                   </td>
									<!--  林木蓄积（立方米） -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.lmxj"></label>
                                        </a>
                                   </td>
									<!--  竹子（万株） -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.zjzs"></label>
                                        </a>
                                   </td>
									<!--  种子（公顷） -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.zhognzi"></label>
                                        </a>
                                   </td>
									<!--  幼树或苗木（万株） -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.ymhmm"></label>
                                        </a>
                                   </td>
									<!--  沙地（公顷） -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.shadi"></label>
                                        </a>
                                   </td>
									<!--  保护区或栖息地（公顷） -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.bhqhqxd"></label>
                                        </a>
                                   </td>
									<!--  野生动物总数（只） -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.ysdwzs"></label>
                                        </a>
                                   </td>
									<!--  野生动物国家重点保护对象（只） -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.ysdwgjzdbh"></label>
                                        </a>
                                   </td>
									<!--  野生植物总数（株） -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.yszwzs"></label>
                                        </a>
                                   </td>
									<!--  野生植物国家重点保护对象（株） -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.yszwgjzdbh"></label>
                                        </a>
                                   </td>
									<!--  单位负责人 -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.defzrmc"></label>
                                        </a>
                                   </td>
									<!--  填表人 -->
            						<td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.tbr"></label>
                                        </a>
                                   </td>
									<!--  填表时间 -->
								   <td>
                                        <a ng-click="editRow('gzlytjaj01',r) && openWindow('edit');">
                                            <label ng-bind="r.tbsj | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="zs-pagination-box">
                    <ag-Page fn='gzlytjaj01'></ag-Page>
                </div>
            </div>
        </div>

        <div ag-Window id="edit" title="林业统计案件编辑" width='560px' height='420px'>
            <div class="zs-form-tab ibox">
                <form name="form" novalidate>
                    <table width="100%">
                        <tbody>
          					<!--<tr>
                                <td class="text" width="20%">ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.id" class="zs-input" />
                                </td>
                            </tr>-->
          					<tr>
                                <td class="text" width="20%">填报单位名称</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.tbdwmc" class="zs-input" />
                                </td>
                           <!-- </tr>
          					<tr>
                                <td class="text" width="20%">填报单位ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.tbdwid" class="zs-input" />
                                </td>
                            </tr>
          					<tr>-->
                                <td class="text" width="20%">统计期限</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.tjqx" class="zs-input" />
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">统计日期</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_tjrq'  showcurday='true'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzlytjaj01.editRow.tjrq" >
							   		</ag-Datebox>
                                </td>
                            
                                <td class="text" width="20%">案件类型</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.ajlx" class="zs-input" />
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">统计有效期结束时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_tjyxqjssj'  showcurday='true'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzlytjaj01.editRow.tjyxqjssj" >
							   		</ag-Datebox>
                                </td>
                          
                                <td class="text" width="20%">案件数量总数</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.ajslzs" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">案件数量_公民</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.ajslgm" class="zs-input" />
                                </td>
                            
                                <td class="text" width="20%">案件数量_法人</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.ajslfr" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">案件数量其他组织</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.ajslqt" class="zs-input" />
                                </td>
                          
                                <td class="text" width="20%">查结案件总数</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.cjajzs" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">查结案件结案率</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.cjajjal" class="zs-input" />
                                </td>
                            
                                <td class="text" width="20%">林地面积（公顷）</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.lmmj" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">林木蓄积（立方米）</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.lmxj" class="zs-input" />
                                </td>
                            
                                <td class="text" width="20%">竹子（万株）</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.zjzs" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">种子（公顷）</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.zhognzi" class="zs-input" />
                                </td>
                            
                                <td class="text" width="20%">幼树或苗木（万株）</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.ymhmm" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">沙地（公顷）</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.shadi" class="zs-input" />
                                </td>
                            
                                <td class="text" width="20%">保护区或栖息地（公顷）</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.bhqhqxd" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">野生动物总数（只）</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.ysdwzs" class="zs-input" />
                                </td>
                            
                                <td class="text" width="20%">野生动物国家重点保护对象（只）</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.ysdwgjzdbh" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">野生植物总数（株）</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.yszwzs" class="zs-input" />
                                </td>
                           
                                <td class="text" width="20%">野生植物国家重点保护对象（株）</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.yszwgjzdbh" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">单位负责人</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.defzrmc" class="zs-input" />
                                </td>
                            
                                <td class="text" width="20%">填表人</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzlytjaj01.editRow.tbr" class="zs-input" />
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">填表时间</td>
                                <td class="left" width="30%" colspan="3">
                                	<ag-Datebox id='fi_tbsj'  showcurday='true'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzlytjaj01.editRow.tbsj" >
							   		</ag-Datebox>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="4">
                                    <input type="button" name="ok" value="保存" class="zs-btn c-red"
                                        ng-click="formValidate(form) && save('gzlytjaj01', gzlytjaj01.editRow, saveCloseWindow)"/>
                                    <input type="button" name="ok" value="取消" class="zs-btn c-green" 
                                        ng-click="closeWindow('edit')" />
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>